<template>
  <div class="top-warap">
    <div class="left-content">
      <div class="name">张三</div>
      <div class="company">xxxxx信息</div>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'TopBasic',
    props: ['text'],
    data () {
      return {
        icon: require(`@/common/image/right-icon.png`)
      }
    }
  }
</script>

<style scoped lang="scss">
  @import "../common/common";

  .top-warap {
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 20px;
    color: #000;
    border-radius: 6px;
    margin-bottom: 20px;

    .left-content {
      .name {
        font-size: 20px;
      }

      .company {
        font-size: 17px;
        opacity: .7;
      }
    }

    .right-content {
      display: flex;
      width: .5rem;
      justify-content: flex-end;
      align-items: center;

      .image {
        width: 8px;
        height: 10px;
      }
    }
  }
</style>
